package com.hzqy.service.system;

import java.util.List;

import javax.annotation.Resource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;

import com.hzqy.persistence.dao.system.SysWarnDao;
import com.hzqy.service.core.GenericServiceBean;
import com.hzqy.web.filter.LoginFilter;
import com.hzqy.web.vo.system.SysWarnVo;

@Service
public class SysWarnServiceBeen  extends GenericServiceBean<SysWarnVo,SysWarnDao, Integer>{
	private static final Log LOG = LogFactory.getLog(LoginFilter.class);
	@Resource
	SysWarnDao sysWarnDao; 
	public SysWarnVo selectWarnVoInfo(){
		SysWarnVo sysWarnVo = sysWarnDao.selectWarnVoInfo();
		if(sysWarnVo==null)
			sysWarnVo = new SysWarnVo();
		return sysWarnVo;
	}
	public Integer selectWarnListCount(){
		return sysWarnDao.selectWarnListCount();
	}
	@Override
	public SysWarnDao getEntityDao() {
		return sysWarnDao;
	}
}